//
//  MPFavoritiesTableViewCell.m
//  SearchPeople
//
//  Created by jcc on 16/5/5.
//
//

#import "MPFavoritiesTableViewCell.h"
#import <UIImageView+WebCache.h>

@implementation MPFavoritiesTableViewCell

- (void)ConfigWithDic:(NSDictionary *)Info
{
    NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@",Info[@"picture"]]];
    UIImage *image = [UIImage imageNamed:@"placeHolder"];
    [self.avatarImageView sd_setImageWithURL:url placeholderImage:image];
    self.nameLabel.text = [NSString stringWithFormat:@"%@",Info[@"name"]];
    self.timeLabel.text = [NSString stringWithFormat:@"%@",Info[@"time"]];
    self.addressLabel.text = [NSString stringWithFormat:@"%@",Info[@"address"]];
}
@end
